@echo off

java -jar .\hap-sign-tool.jar sign-profile -keyAlias "openharmony application profile release" -signAlg "SHA256withECDSA" -mode "localSign" -profileCertFile .\OpenHarmonyProfileRelease.pem -inFile .\ohos_profile.json -keystoreFile .\OpenHarmony.p12 -outFile .\ohos_profile.p7b -keyPwd "123456" -keystorePwd "123456"

@echo on
